<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="/common/taglibs.jsp"%>
<link rel="stylesheet" type="text/css" href="${ctx}/styles/convene.css" media="screen"/>
<link rel="stylesheet" type="text/css" href="${ctx}/styles/team.css" media="screen"/>
<div class="dirbar">
	<a style="vertical-align:middle" href="<c:url value='/home.do'/>">首页 </a> &gt;&gt; <a href="<c:url value='/team/list.do'/>">群组</a> &gt;&gt;  <a href="<c:url value='/team/index.do?teamid=${teamid}'/>"><c:out value="${team.name}"/></a>
</div>
<div class="dirbar5">
	<table>
		<tr>
			<td><img alt="Logo" src="${ctx}/${team.logo}"/></td>
			<td>
				<div>
				组名：<c:out value="${team.name}"></c:out>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;组长：<a href="<c:url value='/space/index.do?usr=${creator.userid}'/>"><c:out value="${creator.nickname}"></c:out></a>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;组等级：<c:out value="${team.rank}"></c:out>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;创建日期：<fmt:formatDate value="${team.createTime}" pattern="yyyy/MM/dd"/>
				</div>
				<div>
				副组长：
				<c:forEach var="manager" items="${managers}"  varStatus="status">
					<a href="<c:url value='/space/index.do?usr=${manager.userid}'/>"><c:out value="${manager.nickname}"></c:out></a>
				</c:forEach>
				</div>
				<div>
				宗旨：<c:out value="${team.description}"></c:out>
				</div>
			</td>
		</tr>
	</table>
</div>
<div class="convene" style="width:750px;">
组话题：<br/>
<table class="t_convenelist" style="width:750px;" cellpadding="5px" cellspacing="0">
	<tr>
		<th width="500px" style="align:center">
			主题
		</th>
		<th width="100px" nowrap="nowrap">
			作者
		</th>
		<th width="140px" nowrap="nowrap">
			发布时间
		</th>
	</tr>
	<c:forEach var="model" items="${page.items}" varStatus="status">
		<tr>
			<td style="text-align:left;padding-left:5px">
				<a href="<c:url value='/bbs/vt.do?tid=${model.entity.topicid}'/>" target="_blank">
				<c:out value="${model.topic.title}"></c:out>
				</a>
			</td>
			<td>
				<ms:user type="nickname" link="true" userid="${model.entity.userid}" nickname="${model.topic.nickname}"  style="a2"></ms:user>
			</td>
			<td >
				<fmt:formatDate value="${model.topic.createTime}" pattern="yyyy/MM/dd HH:mm"/>
			</td>
		</tr>
	</c:forEach>
	</table>
	<jsp:include page="/common/pager.jsp" />
</div>
<div class="tl_left">
	<div class="tl_left_part">
	<div class="dirbar"><span>联盟：</span></div>
		<ms:teamst teamid="${team.teamid}"></ms:teamst>
	</div>
	<div class="tl_left_part">
		<div class="dirbar"><span>组成员：</span></div>
		<ul>
		<c:forEach var="tuser" items="${users}"  varStatus="status">
			<li>
			<a href="<c:url value='/space/index.do?usr=${tuser.userid}'/>"><c:out value="${tuser.nickname}"></c:out></a>
			</li>
		</c:forEach>
		</ul>
	</div>
</div>